Skip to content
This repository was archived by the owner on Feb 2, 2026. It is now read-only.

Allow user to specify the file extensions they want to download#2

Open
jmcurran wants to merge 5 commits into
crawsome:masterfrom
jmcurran:master
Open

Allow user to specify the file extensions they want to download#2
jmcurran wants to merge 5 commits into
crawsome:masterfrom
jmcurran:master

Conversation

@jmcurran

Copy link
Copy Markdown

I have added an option to config.ini so that the user can specify what media types they want to download---by extension only---so for example, specifying

ext=.jpg

means that only jpegs will be downloaded. The user can provide a comma delimited list, e.g.

ext=.gif, .jpg, .png

It's probably sensible at some point to remove the obligation to provide the . - after all it is in every extension, but that is not included here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant